package cn.rmc.basic.util;

import lombok.Data;

@Data
public class AjaxResult {
    private Boolean success=true;
    private String msg = "操作";

    public AjaxResult(Boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }
//    默认操作成功
    public AjaxResult() {
    }

    public static AjaxResult result(){
        return new AjaxResult();
    }

}
